@import "../assets/font/iconfont.css";
@import "reset.css";
* {
    margin: 0;
    padding: 0;
}
html {
    /*view port 1vw等于屏幕宽度1%*/
    font-size: 2.67vw;
}
body {
    background-color: #f4f4f4;
    width: 100vw;
    /*height: 63rem;*/
    height: 100%;
    position: relative;
}

.topNav {
    position: fixed;
    color: white;
    display: block;
    float: left;
    padding-top: 0.6rem;
    width: 100%;
    height: 5rem;
    left: 50%;
    transform: translateX(-50%);
    /* 搜索栏放置于最顶层 */
    z-index: 9999;
    background-color: #ffffff;
}
.topNav #topNavLeftMenu {
    float: left;
    font-size: 2rem;
    font-weight: bold;
    width: 2.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    color: #000;
    margin-left: 1rem;
    margin-top: 0.3rem;
}
.topNav #search {
    display: flex;
    justify-content: center;
    width: 28rem;
    height: 2.9rem;
    line-height: 2.9rem;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    background-color: #f4f4f4;
    border-radius: 3rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.topNav #search #searchIcon {
    color: #B6B6B6;
}

.topNav #search #searchComment {
    color: #B6B6B6;
}

.topNav #messageBox {
    position: absolute;
    right: 0;
    font-size: 2.5rem;
    font-weight: bold;
    width: 2.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    color: #000;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.mainOuter {
    height: 100%;
    width: 100%;
    /*解决子元素外边距影响父级*/
    overflow: auto;
    overflow-x: hidden;
}

.bottomTab {
    position: fixed;
    height: 5rem;
    width: 100%;
    bottom: 0;
    background-color: white;
    z-index: 20;
}

.bottomTab ul {
    display: flex;
    justify-content: space-around;
}

.bottomTab>ul>li {
    transition: all 0.1s ease-out  ;
}

.bottomTab ul img {
    width: 3rem;
    height: 3rem;
    margin-top: -1.5rem;
    transform: scale(1);
}

.bottomTab ul p {
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 0.5rem;
}

.miniPlayer {
    position: fixed;
    bottom: 5rem;
    height: 5rem;
    width: 100vw;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    border-radius: 0.6rem 0.6rem 0 0;
}

.miniPlayer #miniPlayerBackgroundImage {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url("../assets/img/musicPlayer/songCover.png");
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(0.2rem) brightness(70%);
}

.miniPlayer #miniPlayerLeft {
    height: 5rem;
    z-index: 20;
    line-height: 5rem;
    display: flex;
}

.miniPlayer #miniPlayerLeft img {
    position: absolute;
    top: -0.5rem;
    left: 1.8rem;
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
}

.miniPlayer #miniPlayerLeft #miniPlayerSongName {
    font-weight: bold;
    margin-left: 7rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.03rem;
    font-size: 1.1rem;
    max-width: 8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.miniPlayer #miniPlayerLeft #miniPlayerSongAuthor {
    margin-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.03rem;
    width: 8rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.miniPlayer #miniPlayerRight {
    height: 5rem;
    line-height: 5rem;
    display: flex;
    width: 12rem;
    justify-content: space-between;
    font-weight: bold;
    z-index: 20;
    margin-right: 2rem;
}

.miniPlayer #miniPlayerRight #audioControlMini,
.miniPlayer #miniPlayerRight #miniPlayerNext,
.miniPlayer #miniPlayerRight #miniPlayerPrev {
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    margin-top: 0.3rem;
    text-align: center;
}
